package com.example.test.agent.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.*;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 路由表(Route)实体类
 *
 * @author makejava
 * @since 2021-05-20 19:53:53
 */
@Data
@ApiModel("路由表")
@TableName("route")
public class Route implements Serializable {


    @ApiModelProperty("路由ID")
    @TableId(type = IdType.AUTO)
    private Integer routeId;


    @ApiModelProperty("路由唯一名称")
    private String routeName;


    @ApiModelProperty("URL路径")
    private String routePath;


    @ApiModelProperty("路由层数")
    private Integer level;


    @ApiModelProperty("默认URL路径")
    private String redirects;


    @ApiModelProperty("路由标题")
    private String title;


    @ApiModelProperty("父节点")
    private Integer parentId;


    @ApiModelProperty("图标")
    private String icon;


    @ApiModelProperty("是否是菜单，0是，1不是")
    private Integer isMenu;


    @ApiModelProperty("状态，1=启用，0=未启用")
    private Integer status;

}
